package com.zcup.designer.contribute.singleton;

public class Client {
    public static void main(String[] args) {
        SingleDog singleDog = SingleDog.getInstance();
        singleDog.setId("1");
        System.out.println(singleDog.getId());
        SingleDog singleDog2 = SingleDog.getInstance();
        System.out.println(singleDog2.getId());
    }
}
